home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-05 / lstn1-5.zip / LS-3.TXT < prev    next >
Text File  |  1991-10-03  |  16KB  |  472 lines

  1. Hayes(r) Microcomputer Products, Inc.    LANstep(r) Technical Note
  2.  
  3.                                      "Installing Network Interface
  4.                                                 Card (NIC) Drivers"
  5.  
  6. Number LS-3                                         September 1991
  7.  
  8. Summary:
  9.  
  10. This Technical Note 
  11.  
  12. * explains what NIC (network interface card) drivers are for, where 
  13.   you can get them and how to install them.
  14.  
  15. * provides two examples of NIC driver installation and testing; one 
  16.   for Xircom Ethernet and SMC ARCNET.
  17.  
  18.  
  19. Background Information
  20.  
  21. In the constant evolution of network communication protocols, the 
  22. International Standards Organization's Open Systems Interconnection 
  23. (ISO/OSI) model has been referenced frequently. This model provides a 
  24. framework for the implementation of communication protocols in seven 
  25. layers. Most vendors have agreed to support the OSI model in one form 
  26. or another. No matter which model eventually becomes the ultimate 
  27. industry standard, the goal remains the same: to achieve hardware and 
  28. software compatibilities amongst all non-proprietary vendors. What 
  29. this means for the end user of this technology is that any 
  30. off-the-shelf hardware or software will work together, provided it 
  31. conforms to the common standards. Utopia perhaps, but nevertheless it 
  32. is still a goal of the open systems community. Hayes LANstep has been 
  33. designed to operate in this community.
  34.  
  35.  
  36. About NDIS
  37.  
  38. 3Com/Microsoft LAN Manager Network Driver Interface Specification 
  39. (NDIS) is a specification for writing hardware-independent drivers at 
  40. the data link (media access method) layer of the OSI model. In order 
  41. to be network card independent, LANstep has adopted this 
  42. specification. It provides a standardized way of writing drivers for 
  43. network adapters and communication protocols. The benefits of such a 
  44. standard for the industry are numerous. It allows LANstep and other 
  45. network operating systems (NOS) to support any adapter card, and it 
  46. precludes the need for constant maintenance of card drivers by the 
  47. NOS developer. 
  48.  
  49.  
  50. Protocol Manager and PROTOCOL.INI
  51.  
  52. The NDIS specification consists of a Protocol Manager driver which 
  53. provides a standardized way for multiple Adapter Interface and 
  54. protocol drivers to obtain configuration information and "bind" 
  55. together into the desired protocol hierarchy. The Protocol Manager 
  56. accesses all configuration information from a central file, 
  57. PROTOCOL.INI. The network interface card manufacturer will usually 
  58. provide the different operating system drivers (DOS & OS/2) for their 
  59. cards and a PROTOCOL.INI file with specifications for only one layer, 
  60. the Adapter Interface layer (also know as the Media Access Control 
  61. (MAC) layer). This layer contains a set of parameters usually 
  62. specific to the card itself. These parameters will generally be set 
  63. at default values optimized for that particular card or family of 
  64. cards. These values can be changed and tuned based on the 
  65. recommendations of the manufacturer and NDIS driver specification. 
  66. For a more detailed explanation of this file, refer to "Appendix C; 
  67. Understanding the PROTOCOL.INI File" of the LANstep Manager's Guide.
  68.  
  69.  
  70. Where Can I Get NIC Driver Files?
  71.  
  72. While most NIC vendors supply driver software with the card, there 
  73. may be an occasion where you don't have any drivers for a card you 
  74. wish to use with LANstep. In this case, you can obtain the necessary 
  75. driver software from three sources:
  76.  
  77. * LANstep master diskettes
  78. * LANstep Supplementary Network Driver diskette(s)
  79. * direct from the NIC manufacturer
  80.  
  81.  
  82. From the LANstep Master Diskettes
  83.  
  84. At the time this document was printed, the LANstep master diskettes 
  85. included driver files for the following NICs:
  86.  
  87. Ethernet:
  88. * 3Com EtherLink 501
  89. * 3Com EtherLink II 503
  90. * 3Com EtherLink Plus 505
  91. * 3Com EtherLink 16 507
  92. * 3Com Etherlink MC 523
  93. * Hayes EtherMate
  94. * Western Digital EtherCard
  95.  
  96. Token-Ring:
  97. * IBM Token-Ring
  98.  
  99.  
  100. From a LANstep Supplement Diskette
  101.  
  102. As other NICs enter the market, Hayes provides, when possible, 
  103. copies of the driver files for these NICs. There are a number of ways 
  104. to obtains these newer driver files. If you have a modem, call the 
  105. Online With Hayes BBS (1-800-USHAYES) and look for the needed driver 
  106. file(s) in the File Library section and a README file that tells you 
  107. how to convert these files into Supplementary Diskettes. You may also 
  108. obtain (via modem) these same files from the Hayes Forum (GO HAYES) 
  109. on CompuServe, or simply contact Hayes Customer Service Department 
  110. (404) 441-1617 (USA) or (519) 746-5000 (Canada) for availability.
  111.  
  112.  
  113. From the Manufacturer
  114.  
  115. This is another good source, since the manufacturer, more than 
  116. anyone else, should have the most current version of the driver files 
  117. needed for a specific card. Frequently, NIC vendors have BBSs you can 
  118. call and download the file(s). Or, just call the manufacturer 
  119. directly and obtain the NDIS drivers.
  120.  
  121. IMPORTANT: Unless the driver(s) come directly from Hayes, they may 
  122. only be used on Locally Booted Workstations, i.e., the NSS or locally 
  123. booted DOS Workstations.
  124.  
  125.  
  126. About Our Examples
  127.  
  128. The remainder of the Technical Note outlines the procedure for 
  129. installing NIC drivers for two different types of network cards. Each 
  130. procedure differs slightly, so by reading over both, you'll soon have 
  131. a better understanding of how to properly install NIC drivers.
  132.  
  133.  
  134.  
  135. Example #1: Installing a NIC Driver for Xircom Ethernet
  136.  
  137. In this example, we're going to install a Xircom Pocket Ethernet 
  138. Adapter in a laptop system, which typically doesn't have a slot 
  139. available for a regular Ethernet card. Our laptop is configured to 
  140. boot from C: when not connected to the LAN, and will boot as a 
  141. locally booted DOS Workstation from a diskette when used on the LAN. 
  142. This is a typical configuration for a traveling salesman. This means 
  143. some memory is saved when not booting onto the network, since the 
  144. NDIS drivers are only loaded when needed.
  145.  
  146. Xircom provides three NDIS driver files with their Pocket Ethernet 
  147. Adapter:
  148.  
  149. * PE_NDIS.DOS: the DOS driver
  150. * PE_NDIS.OS2: the OS/2 driver
  151. * PROTOCOL.INI: the Adapter Interface layer of PROTOCOL.INI
  152.  
  153.  
  154. Creating A DOS Workstation Boot Diskette
  155.  
  156. The first series of steps in this procedure is to create a floppy 
  157. diskette that can be used to boot the laptop as a LANstep workstation.
  158.  
  159. Note: This procedure assumes you are using a laptop system with a 
  160. hard disk (C:) and a single floppy disk drive. However, you'll see 
  161. that floppy drive A: and B: are referenced; this can be done on most 
  162. laptops under DOS, since A: and B: are both recognized as the same 
  163. physical drive.
  164.  
  165. Step 1:
  166.         Boot the laptop from the normal DOS drive (usually C:).
  167.  
  168. Step 2:
  169.         Insert a blank floppy in drive A:.
  170.  
  171. Step 3:
  172.         Format the floppy as a bootable disk with the DOS FORMAT 
  173.         command:
  174.  
  175.          FORMAT A:/S
  176.  
  177.         The /S switch tells the FORMAT program to make the diskette a 
  178.         bootable one.
  179.  
  180. Step 4:
  181.         Remove the diskette and label it DOS WS Boot Disk. Insert
  182.         the LANstep Network Workstation Setup diskette.
  183.  
  184. Step 5:
  185.         From the C: prompt, enter:
  186.  
  187.         B:INSTALL
  188.  
  189.     DOS responds with the message:
  190.  
  191.         Insert diskette for drive B:
  192.         and strike any key when ready
  193.  
  194. Step 7:
  195.         Select Locally booted DOS Workstation from the menu; press 
  196.     Enter.
  197.  
  198. Step 8:
  199.         Select Install on Diskette A: and press Enter.
  200.  
  201. Step 9:
  202.         The following message appears:
  203.  
  204.             Locally booted DOS WS Setup
  205.  
  206.         Copying DOS Workstation files...
  207.  
  208.         Insert diskette for drive A: and strike any 
  209.         key when ready
  210.  
  211.  
  212.     After this, insert your original formatted diskette (the one
  213.     labeled DOS WS Boot Diskette) in drive A: and press Enter. You may
  214.     have to alternate your diskettes four or five times until you
  215.     receive a "4 files copied" message before the last prompt. Make
  216.     sure the Network Workstation Setup disk is the last diskette left
  217.     in your drive after being prompted to insert a diskette in drive
  218.     B:. 
  219.  
  220. Step 10:
  221.         From the next menu, select Ethernet and press Enter.
  222.  
  223. Step 11:
  224.         A list of Ethernet card drivers appears:
  225.  
  226.     * 3Com EtherLink  501
  227.     * 3Com EtherLink II 503
  228.     * 3Com EtherLink Plus 505
  229.     * 3Com EtherLink 16 507
  230.     * 3Com Etherlink MC 523
  231.     * Hayes EtherMate
  232.     * Western Digital EtherCard
  233.     * Other network cards
  234.  
  235. Step 12:
  236.         Since Xircom is not in this list, select Other network cards 
  237.     and press Enter.
  238.  
  239. Step 13:
  240.         Select Manually install a network card driver and press 
  241.     Enter.
  242.  
  243. Step 14:
  244.         The following message appears:
  245.  
  246.         Follow the instructions that came with the network card
  247.         to install the network card driver program.
  248.  
  249.     You will need to edit the PROTOCOL.INI file to include 
  250.     certain entries specific to this network environment. 
  251.  
  252.     Refer to Chapter 5 of the Manager's Guide for details.
  253.  
  254. Step 15:
  255.         Insert your DOS WS Boot Diskette in drive A: and view its 
  256.     contents by entering;
  257.  
  258.         DIR
  259.  
  260.     at the DOS prompt.
  261.  
  262. Step 16:
  263.         Ensure that the following files in the list are on your DOS 
  264.     WS Boot Diskette:
  265.  
  266.         COMMAND.COM
  267.         PROTMAN.SYS
  268.         NETUSE.COM
  269.         LOGIN.COM
  270.         NETRDR.EXE
  271.         NETROOM.BAT
  272.         CONFIG.SYS
  273.         AUTOEXEC.BAT
  274.  
  275.     If, for any reason, you do not have these files on your boot 
  276.     diskette (or C: drive if booting from hard disk), repeat the 
  277.     installation procedure beginning from Step 5.
  278.  
  279.  
  280. Step 17:
  281.         Get the Xircom diskette(s); in a directory (usually disk #1) 
  282.     named \NDIS are three files:
  283.  
  284.         PE_NDIS.OS2
  285.         PE_NDIS.DOS
  286.         PROTOCOL.INI
  287.  
  288. Step 18:
  289.         Since this is a DOS Workstation, you will need to copy the 
  290.     DOS version of the driver, PE_NDIS.DOS and the PROTOCOL.INI file
  291.     to the DOS WS Boot Disk. Insert the Xircom driver diskette and
  292.     enter:
  293.  
  294.         COPY A:\NDIS\PE_NDIS.DOS B:\
  295.  
  296.     In this example, A: is the Xircom driver diskette and B:
  297.     is the DOS WS Boot Disk.
  298.  
  299. Step 19:
  300.         When the copy has finished, copy the second file:
  301.  
  302.         COPY A:\NDIS\PROTOCOL.INI B:\
  303.  
  304. Step 20:
  305.         Using a plain ASCII text editor, update both the CONFIG.SYS 
  306.     and PROTOCOL.INI files on the DOS WS Boot Disk.The CONFIG.SYS file
  307.         should be changed to include these two lines:
  308.  
  309.         DEVICE=PROTMAN.SYS
  310.         DEVICE=PE_NDIS.DOS
  311.  
  312.     These lines add two device drivers: PROTMAN.SYS for the
  313.     Protocol Manager and PE_NDIS.DOS for the NIC.
  314.  
  315. Step 21:
  316.         Now, using the text editor, modify the PROTOCOL.INI file. 
  317.     The old file looks like this:
  318.  
  319.         [XIRCOMNET]
  320.                 DRIVERNAME = XIRCOM$
  321.                 INTERRUPT = 7
  322.                 PRINTERPORT = LPT1
  323.  
  324.     Update it, so the new PROTOCOL.INI file looks like this:
  325.  
  326.         [protocol manager]
  327.                 DRIVERNAME = PROTMAN$
  328.         [INTERKNL]
  329.                 DRIVERNAME = INKNL$
  330.                 BINDINGS = XIRCOMNET
  331.         [XIRCOMNET]
  332.                 DRIVERNAME = XIRCOM$
  333.                 INTERRUPT = 7
  334.                 PRINTERPORT = LPT1
  335.  
  336.     These lines are always required by LANstep:
  337.  
  338.         [protocol manager]
  339.                 DRIVERNAME = PROTMAN$
  340.         [INTERKNL]
  341.                 DRIVERNAME = INKNL$
  342.  
  343.  
  344.     This line is always "BINDINGS=x" where x is the name in brackets
  345.     in the PROTOCOL.INI file supplied with the NIC:
  346.  
  347.             BINDINGS = XIRCOMNET
  348.         [XIRCOMNET]
  349.  
  350.     In technical terms, this is the name of the Adapter Interface
  351.     Layer.
  352.  
  353. Step 22:
  354.         Reboot your DOS Workstation with your DOS WS Boot Disk and 
  355.     connect to the LANstep network. Your Login prompt will appear.
  356.  
  357.         
  358.  
  359.  
  360.  
  361. Example #2: Installing a NIC Driver for SMC ARCNET
  362.  
  363. In this example, the NSS contains an SMC ARCNET card. The LANstep 
  364. system has already been installed. This card is not on LANstep's list 
  365. of supported cards and there are no NDIS drivers supplied with the 
  366. card. However, Hayes has produced a Supplementary Network Driver disk 
  367. for the SMC ARCNET family of cards provided by SMC.
  368.  
  369.  
  370. Get the Driver Files First
  371.  
  372. You can obtain this diskette (or files to create your own) by 
  373. calling the Online With Hayes BBS at (800) USHAYES or Hayes Customer 
  374. Service at (404) 441-1617 (USA) or (519) 746-5000 (Canada).
  375.  
  376. Step 1:
  377.         If you obtained the files from the Online With Hayes BBS, 
  378.     follow the instructions in the README file to create a
  379.     Supplementary Network Driver diskette. 
  380.  
  381. Step 2:
  382.         Login as Super_User. From the main office, select the 
  383.     Management console icon and press Enter.
  384.  
  385. Step 3:
  386.         Select LAN configuration and press Enter.
  387.  
  388. Step 4:
  389.         Select Network card support and press Enter.
  390.  
  391. Step 5:
  392.         Select Install network card drivers from Network Driver disk 
  393.     and press Enter
  394.  
  395.     The screen displays the following message:
  396.  
  397.         Please insert the first Network Driver diskette in drive
  398.         A:. Press Esc to quit, any other key to continue.
  399.  
  400. Step 6:
  401.         Insert the Supplementary Network Driver disk in the drive 
  402.     and press Enter. The next screen displays a list of network cards
  403.     for which support was installed
  404.  
  405. Step 7:
  406.         The following question is then displayed:
  407.  
  408.             Did the network card installed in your NSS
  409.             appear in the above list?
  410.  
  411.     Type a Y and press Enter. Then the screen displays a list of 
  412.     supported network cards.
  413.  
  414. Step 8:
  415.         Select the card installed and press Enter. 
  416.  
  417. Step 9:
  418.         When the PROTOCOL.INI file appears, modify the parameters in 
  419.     the adapter interface layer to match the settings for your network
  420.         adapter in the NSS.
  421.  
  422.     Because the driver is from a Hayes disk, there is no need to
  423.     modify the PROTOCOL.INI file as in the previous example.
  424.  
  425.  
  426. Step 10:
  427.         Press F5:SAVE to save the file. 
  428.  
  429. Step 11:
  430.         Press Escape as necessary to return to Super_User's Office
  431.  
  432. Step 12:
  433.         Logout and reboot the NSS. 
  434.  
  435.  
  436. This PROTOCOL.INI file is now saved for the NSS. When a LANstep 
  437. workstation is configured or a network booted workstation is created, 
  438. they get their own copy of this file, which can be customized to suit 
  439. the settings of the network interface card in a particular 
  440. workstation. This customization is done through the workstation 
  441. configuration activities from the Management Console icon. Refer to 
  442. chapter 6 of the LANstep Manager's Guide, if you are setting up a 
  443. network booted DOS Workstation, and chapter 7 if you are setting up a 
  444. LANstep Workstation.
  445.  
  446.  
  447. Conclusion
  448.  
  449. The previous examples illustrate two common types of NDIS driver 
  450. additions. However, if your particular situation is different, the 
  451. objectives still remain the same. Hayes will provide NDIS drivers for 
  452. network interface cards in one of two forms, Network Driver Diskettes 
  453. or Supplementary Network Driver diskettes.
  454.  
  455. As network card manufacturers continue to create and supply NDIS 
  456. drivers to Hayes, they will become available for use in one of the 
  457. above two forms. In the meantime, there is an automated procedure 
  458. available within LANstep to add other network card drivers to your 
  459. LANstep network. By adopting the NDIS specification, LANstep has 
  460. provided a means of supporting any current and future generations of 
  461. network interface cards, thus achieving network card independence.
  462.  
  463.  
  464.  
  465. Hayes is a registered trademark and LANstep is a trademark of Hayes
  466. Micrcomputer Products, Inc.
  467.  
  468. Other trademarks appearing in this document are trademarks of the
  469. respective companies
  470.  
  471. (C) 1991 Hayes Microcomputer Products, Inc.
  472.